package jfox.platform.datadict.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import jfox.platform.infrastructure.LocalNamingEntityObject;

/**
 * @author <a href="mailto:yang_y@sysnet.com.cn">Young Yang</a>
 */
@Entity
@Table(name="T_DICT_CATEGORY")
public class DictCategory extends LocalNamingEntityObject {

    @Column(name = "PARENT_ID")
    private long parentId;

    @Column(name = "CODE")
    private String code;

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public static void main(String[] args) {

    }
}
